package com.lzw.bluetoothpractice.Adapters;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.lzw.bluetoothpractice.R;

public class RecoveryListAdapter extends RecyclerView.Adapter<RecoveryListAdapter.ViewHolder>{
    View itemView;
    Context mcontext;

    public RecoveryListAdapter(Context mcontext) {
        this.mcontext = mcontext;
    }

    @Override
    public void onBindViewHolder(@NonNull ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 8;
    }


    @NonNull
    @Override
    public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
        itemView= LayoutInflater.from(mcontext).inflate(R.layout.recovery_list,parent,false);

        return new ViewHolder(itemView);
    }

    class ViewHolder extends RecyclerView.ViewHolder {

    View view;
    public ViewHolder(@NonNull View itemView) {
        super(itemView);
        view=itemView;


    }
}
}
